FROM debian:buster

RUN apt-get update && apt-get -y upgrade && apt-get -y install racket ca-certificates sqlite
RUN raco pkg install rfc6455
ADD . /src
WORKDIR /src
RUN raco exe main.rkt

EXPOSE 6667

CMD /src/main --url "ws://movienight:8089/ws" --host "0.0.0.0"
